<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/common.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.6.2.js"></script>

<title>Scrum Friend Login</title>
</head>

<body>
<div class="page_index">
	<!-- header -->
	<div class="header_block">
		<div class="header_content">
			<div class="logo left">
				<a href="#"><img src="${pageContext.request.contextPath}/images/logo_front.png"/></a>
			</div>
			<div class="clear"></div>
		</div>
	</div>
	<!-- banner -->
	<div class="banner_block">
		<div class="banner_content">
			<div class="banner left">
				<img src="${pageContext.request.contextPath}/images/banner.jpg"/>
			</div>
			<div class="login_area left">
				<h2>登录</h2>
				<div class="login_form">
					<s:form name="userLogin" action="userLogin" method="POST" theme="simple" namespace="/user">
						<s:actionmessage/>
						<s:actionerror/>
						<div class="form_weight">
							<label>用户名：</label>
							<s:textfield name="user.name"></s:textfield>
						</div>
						<div class="form_weight">
							<label>密&nbsp;&nbsp;&nbsp;&nbsp;码：</label>
							<s:password name="user.password"></s:password>
						</div>
						<div class="form_weight">
							<div class="right">
								<s:submit value="登录"></s:submit>
								<s:reset value="重置" name="reset"></s:reset>
							</div>
							<div class="clear"></div>
						</div>
						<div class="form_weight">
							<div class="right register_link">
								<a href='<s:url value="/user/loadRegister.action"></s:url>'>没有账号？点击注册</a>
							</div>
						</div>
					</s:form>
				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
	<!-- footer -->
	<div class="footer_block">
		<div class="footer_content">
			<div class="footer_logo left">
				<a href="#"><img src="${pageContext.request.contextPath}/images/logo_front.png"/></a>
			</div>
			<div class="copyright right">
				&copy;&nbsp;创想软件&middot;SCRUM Friend.版权所有.
			</div>
			<div class="clear"></div>
		</div>
	</div>
</div>
</body>
</html>